
#include "ProductButtonSummer.h"
#include <iostream>

using namespace npAbstractFactory;
using namespace std;


ProductButtonSummer::ProductButtonSummer() : ProductButton()
{

}

ProductButtonSummer::~ProductButtonSummer()
{

}

ProductButtonSummer::ProductButtonSummer(const ProductButtonSummer& cpy) : ProductButton(cpy)
{

}

ProductButtonSummer& ProductButtonSummer::operator=(const ProductButtonSummer& asn)
{
    if (this == &asn)
    {
        return *this;
    }
    else
    {
        ProductButton::operator=(asn);
        return *this;
    }
}

ProductButtonSummer* ProductButtonSummer::clone() const
{
    return new ProductButtonSummer(*this);
}

void ProductButtonSummer::display()
{
    cout << "浅蓝色按钮" << endl;
}
